//
//  FZHomeRootModel.m
//  Pods
//
//  Created by CyonLeuPro on 15/6/27.
//
//

#import "FZHomeRootModel.h"
#import "FZHomeSectionModel.h"

@implementation FZHomeRootModel

+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    NSMutableDictionary *dict = [[super JSONKeyPathsByPropertyKey] mutableCopy];
    
    NSDictionary *addDict = @{ @"sectionModels": @"data"
                               };
    
    [dict addEntriesFromDictionary:addDict];
    return dict;
}

+ (NSValueTransformer *)sectionModelsJSONTransformer {
    return [NSValueTransformer mtl_JSONArrayTransformerWithModelClass:[FZHomeSectionModel class]];
}

@end
